package org.ehe.finance.currency.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.common.mybatis.core.page.PageQuery;
import org.ehe.common.mybatis.core.page.TableDataInfo;
import org.ehe.finance.currency.domain.ErpFinanceCurrency;
import org.ehe.finance.currency.domain.bo.ErpFinanceCurrencyBo;
import org.ehe.finance.currency.domain.vo.ErpFinanceCurrencyVo;

/**
 * @author :zhangnn
 * @className :ErpFinanceCurrencyService
 * @description: TODO
 * @date 2025-08-26 16:59:30
 */
public interface ErpFinanceCurrencyService extends IService<ErpFinanceCurrency> {
    /**
     * 分页
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<ErpFinanceCurrencyVo> queryPageList(ErpFinanceCurrencyBo bo, PageQuery pageQuery);

    int insertByBo(ErpFinanceCurrencyBo bo);

    int updateByBo(ErpFinanceCurrencyBo bo);

    int deleteById(Long id);

    boolean checkCurrencyCodeUnique(String subjectCode, Long id);
}
